package ooday02;

public class chick extends animal{
    chick(String color, int age,String name){
        super(color,age,name);

    }
    void layegg(){
        System.out.println(age+"岁"+name+"正在下蛋");
    }
    void eat(){
        System.out.println(color+name+"可以吃好多东西，喜欢吃籼米");
        System.out.println("chick3");
    }
    void as(){}


}

/**
 *
 */

